package com.ygqh.baby.model;

import com.ygqh.baby.ao.ProductStatus;

import java.util.Arrays;
import java.util.List;

public class ProductListRequestParam extends BaseRequestParam {

    private boolean search;

    private Integer start;

    private Integer limit;

    private String sortKey;

    private String dir;

    private String[] productIds;

    private Long[] categoryIds;

    private ProductStatus saleStatus;

    private Boolean isPreProduct;

    /**
     * Male男 Female 女 All 全部,null则默认全部
     */
    private String gender;

    /**
     * (模糊查询)
     */
    private String productName;

    private String tags;

    private Boolean isVip;

    private Long supplierId;

    private String basicAttribute;

    private String categoryName;

    private String[] sizeName;
    private String brandId;


    private Long productCombinationId;

    private String salesPlatform;

    //===============================
    private String[] select1;
    private String[] select2;
    private String[] select3;

    private List<Long> skipIdList;

    private List<Long> skipScIdList;

    public boolean isSearch() {
        return search;
    }

    public void setSearch(boolean search) {
        this.search = search;
    }

    public String[] getSelect1() {
        return select1;
    }

    public void setSelect1(String[] select1) {
        this.select1 = select1;
    }

    public String[] getSelect2() {
        return select2;
    }

    public void setSelect2(String[] select2) {
        this.select2 = select2;
    }

    public String[] getSelect3() {
        return select3;
    }

    public void setSelect3(String[] select3) {
        this.select3 = select3;
    }

    public Long getProductCombinationId() {
        return productCombinationId;
    }

    public void setProductCombinationId(Long productCombinationId) {
        this.productCombinationId = productCombinationId;
    }

    public String getSortKey() {
        return sortKey;
    }

    public void setSortKey(String sortKey) {
        this.sortKey = sortKey;
    }

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public Long[] getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(Long[] categoryIds) {
        this.categoryIds = categoryIds;
    }

    public Boolean getIsPreProduct() {
        return isPreProduct;
    }

    public void setIsPreProduct(Boolean isPreProduct) {
        this.isPreProduct = isPreProduct;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Boolean getIsVip() {
        return isVip;
    }

    public void setIsVip(Boolean isVip) {
        this.isVip = isVip;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }


    public String[] getSizeName() {
        return sizeName;
    }

    public void setSizeName(String[] sizeName) {
        this.sizeName = sizeName;
    }

    public ProductStatus getSaleStatus() {
        return saleStatus;
    }

    public void setSaleStatus(ProductStatus saleStatus) {
        this.saleStatus = saleStatus;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String[] getProductIds() {
        return productIds;
    }

    public void setProductIds(String[] productIds) {
        this.productIds = productIds;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getBasicAttribute() {
        return basicAttribute;
    }

    public void setBasicAttribute(String basicAttribute) {
        this.basicAttribute = basicAttribute;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getSalesPlatform() {
        return salesPlatform;
    }

    public void setSalesPlatform(String salesPlatform) {
        this.salesPlatform = salesPlatform;
    }

    public List<Long> getSkipIdList() {
        return skipIdList;
    }

    public void setSkipIdList(List<Long> skipIdList) {
        this.skipIdList = skipIdList;
    }

    public List<Long> getSkipScIdList() {
        return skipScIdList;
    }

    public void setSkipScIdList(List<Long> skipScIdList) {
        this.skipScIdList = skipScIdList;
    }

    @Override
    public String toString() {
        return "ProductListRequestParam{" +
                "start=" + start +
                ", limit=" + limit +
                ", sortKey='" + sortKey + '\'' +
                ", dir='" + dir + '\'' +
                ", productIds=" + Arrays.toString(productIds) +
                ", categoryIds=" + Arrays.toString(categoryIds) +
                ", saleStatus=" + saleStatus +
                ", isPreProduct=" + isPreProduct +
                ", gender='" + gender + '\'' +
                ", productName='" + productName + '\'' +
                ", tags='" + tags + '\'' +
                ", isVip=" + isVip +
                ", supplierId=" + supplierId +
                ", basicAttribute='" + basicAttribute + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", sizeName=" + Arrays.toString(sizeName) +
                ", brandId='" + brandId + '\'' +
                ", productCombinationId=" + productCombinationId +
                ", select2=" + Arrays.toString(select2) +
                ", select3=" + Arrays.toString(select3) +
                ", salesPlatform=" + salesPlatform +
                ", skipIdList=" + skipIdList +
                "} " + super.toString();
    }
}
